package com.leslie.hhcommunity.entity;

import java.util.Date;

/**
 * @author
 * @PackageName:com.leslie.hhcommunity.entity
 * @ClassnName:Comment
 * @Description:
 * @Date 2022/1/4  11:43
 */
public class Comment {
	private int id;
	private int UserId;
	private int entityType;
	private int entityId;
	private int targetId;
	private String content;
	private int status;
	private Date createTime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return UserId;
	}

	public void setUserId(int userId) {
		UserId = userId;
	}

	public int getEntityType() {
		return entityType;
	}

	public void setEntityType(int entityType) {
		this.entityType = entityType;
	}

	public int getEntityId() {
		return entityId;
	}

	public void setEntityId(int entityId) {
		this.entityId = entityId;
	}

	public int getTargetId() {
		return targetId;
	}

	public void setTargetId(int targetId) {
		this.targetId = targetId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "Comment{" +
				"id=" + id +
				", UserId=" + UserId +
				", entityType=" + entityType +
				", entityId=" + entityId +
				", targetId=" + targetId +
				", content='" + content + '\'' +
				", status=" + status +
				", createTime=" + createTime +
				'}';
	}
}
